package com.lin.bootstudy.service;

import com.lin.bootstudy.domain.User;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface UserSer {



    String test();

    @Transactional
    void testUpdataPassword(int id);

    User selectById(int id);

    List<User> selectAll();

    boolean insert(User user);

    boolean update(User user);

    boolean deleteById(int id);
}
